﻿using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;


public class CaptureScreenshotTool 
{
    [MenuItem("Plateface/Other/ScreenCapture")]
    public static void Menu()
    {
        string path = Application.dataPath + Time.realtimeSinceStartup + "tupian.png";
        ScreenCapture.CaptureScreenshot(path,ScreenCapture.StereoScreenCaptureMode.BothEyes);
    }
}
